#ifndef PROTOCOL_WL_OUTPUT_H
#define PROTOCOL_WL_OUTPUT_H
//******************************************************************************
//*this code is protected by the GNU affero GPLv3
//*author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
//*                        <digital.ragnarok AT gmail dot com>
//******************************************************************************
#define WL_OUTPUT_STR "wl_output"
#define WL_OUTPUT_STR_DWS 3

#define WL_OUTPUT_SUBPIXEL_UNKNOWN        0
#define WL_OUTPUT_SUBPIXEL_NONE           1
#define WL_OUTPUT_SUBPIXEL_HORIZONTAL_RGB 2
#define WL_OUTPUT_SUBPIXEL_HORIZONTAL_BGR 3
#define WL_OUTPUT_SUBPIXEL_VERTICAL_RGB   4
#define WL_OUTPUT_SUBPIXEL_VERTICAL_BGR   5

#define WL_OUTPUT_TRANSFORM_NORMAL      0
#define WL_OUTPUT_TRANSFORM_90          1
#define WL_OUTPUT_TRANSFORM_180         2
#define WL_OUTPUT_TRANSFORM_270         3
#define WL_OUTPUT_TRANSFORM_FLIPPED     4
#define WL_OUTPUT_TRANSFORM_FLIPPED_90  5
#define WL_OUTPUT_TRANSFORM_FLIPPED_180 6
#define WL_OUTPUT_TRANSFORM_FLIPPED_270 7

#define WL_OUTPUT_MODE_CURRENT  0x1
#define WL_OUTPUT_MODE_PREFERED 0x2

//Here we limit the size of parameter strings. It's not in the protocol
//definition.
#define WL_OUTPUT_GEOMETRY_MANUFACTURER_STR_DWS_MAX 16
#define WL_OUTPUT_GEOMETRY_MODEL_STR_DWS_MAX 16

//------------------------------------------------------------------------------
//events
#define WL_OUTPUT_GEOMETRY 0
#define WL_OUTPUT_MODE     1
//------------------------------------------------------------------------------
#endif
